package cn.itsource.pojo.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotEmpty;

@Data
public class LoginDto {
    @NotEmpty(message = "请求参数错误")
    private String code;
    @Range(min = 0,max = 2)
    private Integer type;

}
